import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router);

//首页模版
const index = (resolve) => {
  import('../echarts/index.vue').then((module) => {
    resolve(module)
  })
};
const index20 = (resolve) => {
  import('../echarts/index20.vue').then((module) => {
    resolve(module)
  })
};
const index3d = (resolve) => {
  import('../echarts/index3d.vue').then((module) => {
    resolve(module)
  })
};
export default new Router({
  routes: [{
    path: '/',
    name: 'index',
    component: index
  }, {
    path: '/index20',
    name: 'index20',
    component: index20
  }, {
    path: '/index3d',
    name: 'index3d',
    component: index3d
  }]
})
